<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Documento sin título</title>
    </head>
    <style type="text/css">
        .letra {
            font-family: Arial, Helvetica, sans-serif;
            font-size: 11px;
            text-align: justify;
        }
        .tablinea {
            border-collapse:collapse;
            margin: -1px; padding: -1px;
        }

    </style>
    <body>
        <table width="100%" border=0">
            <tr>
                <td width="20%"><img src="<?php echo base_url(); ?>commons/images/itss2.jpg"/></td>
                <td width="63%"><div align="center">MATRICULA NRO <?php echo $inscrito[0]['nro_matr']; ?></div></td>
                <td width="17%"><div style="border:inset; width:80;height:80;"></div></td>
            </tr>
        </table>
        <BR/>
        <BR/>
        <table width="100%" class="tablinea" border="1" cellpadding="0" cellspacing="1"  bordercolor="#000000"  >
            <tr>
                <td><table width="100%" class="tablinea"  border="1" cellpadding="0" cellspacing="1"  bordercolor="#000000">
                        <tr>
                            <td width="22%" height="20"><span class="letra"><strong>SEMESTRE:</strong></span></td>
                            <td width="78%" height="20"><span class="letra"><?php echo $ide_lec_nom; ?></span></td>
                        </tr>
                    </table></td>
            </tr>
            <tr>
                <td><table width="100%" class="tablinea"  border="1" cellpadding="0" cellspacing="1"  bordercolor="#000000">
                        <tr>
                            <td width="22%" height="20"><span class="letra"><strong>CARRERA: </strong></span></td>
                            <td width="78%" height="20"><span class="letra"><?php echo $ide_car_nom; ?></span></td>
                        </tr>
                    </table></td>
            </tr>
            <tr>
                <td><table width="100%" class="tablinea"  border="1" cellpadding="0" cellspacing="1"  bordercolor="#000000">
                        <tr>
                            <td width="22%" height="20"><span class="letra"><strong>NRO.<?php
                                        echo ($estudiante[0]['tipo_doc_pers'] == 0 ? "CEDULA" : ($estudiante[0]['tipo_doc_pers'] == 1 ? "PASAPORTE" : "CARNE DE REFUGIADO"));
                                        ?>:</strong></span></td>
                            <td width="15%" height="20"><span class="letra"><?php echo $estudiante[0]['cedula_pers']; ?></span></td>
                            <td width="10%" height="20"><span class="letra"><strong>CICLO:</strong></span></td>
                            <td width="53%" height="20"><span class="letra"><?php echo $ide_ciclo_nom; ?></span></td>
                        </tr>
                    </table></td>
            </tr>
            <tr>
                <td><table width="100%" class="tablinea"  border="1" cellpadding="0" cellspacing="1"  bordercolor="#000000">
                        <tr>
                            <td width="22%" height="20"><span class="letra"><strong>APELLIDOS</strong></span></td>
                            <td width="28%" height="20"><span class="letra"><?php echo $estudiante[0]['apellido_pers']; ?></span></td>
                            <td width="15%" height="20"><span class="letra"><strong>NOMBRES</strong></span></td>
                            <td width="35%"><span class="letra"><?php echo $estudiante[0]['nombre_pers']; ?></span></td>
                        </tr>
                    </table></td>
            </tr>
            <tr>
                <td><table width="100%" class="tablinea"  border="1" cellpadding="0" cellspacing="1"  bordercolor="#000000">
                        <tr>
                            <td width="22%" height="20"><span class="letra"><strong>FECHA DE NACIMIENTO</strong></span></td>
                            <td width="16%" height="20"><span class="letra"><?php echo date("d/m/Y", strtotime($estudiante[0]['fecha_nac_pers'])); ?></span></td>
                            <td width="20%" height="20"><span class="letra"><strong>LUGAR DE NACIMIENTO</strong></span></td>
                            <td width="42%" height="20"><span class="letra"><?php echo ($estudiante[0]['ciudad_pers']=="NN"?$estudiante[0]['canton_pers']:$estudiante[0]['ciudad_pers']) ?></span></td>
                            <!-- <td width="42%" height="20"><span class="letra"><?php echo $estudiante[0]['ciudad_pers']; ?></span></td> -->
                        </tr>
                    </table></td>
            </tr>
            <tr>
                <td><table width="100%" class="tablinea"  border="1" cellpadding="0" cellspacing="1"  bordercolor="#000000">
                        <tr>
                            <td width="22%" height="20"><span class="letra"><strong>PROVINCIA</strong></span></td>
                            <td width="16%" height="20"><span class="letra"><?php echo $estudiante[0]['provincia_pers']; ?></span></td>
                            <td width="20%" height="20"><span class="letra"><strong>NACIONALIDAD:</strong></span></td>
                            <td width="42%" height="20"><span class="letra"><?php echo $estudiante[0]['nacionalidad_pers']; ?></span></td>
                        </tr>
                    </table></td>
            </tr>
            <tr>
                <td><table width="100%" class="tablinea"  border="1" cellpadding="0" cellspacing="1"  bordercolor="#000000">
                        <tr>
                            <td width="22%" height="20"><span class="letra"><strong>ESTADO CIVIL </strong></span></td>
                            <td width="16%" height="20"><span class="letra"><?php echo $estudiante[0]['estado_civil_pers']; ?></span></td>
                            <td width="20%" height="20"><span class="letra"><strong>TIPO DE SANGRE</strong></span></td>
                            <td width="42%" height="20"><span class="letra"><?php echo $estudiante[0]['tipo_sangre_est']; ?></span></td>
                        </tr>
                    </table></td>
            </tr>
            <tr>
                <td><table width="100%" class="tablinea"  border="1" cellpadding="0" cellspacing="1"  bordercolor="#000000">
                        <tr>
                            <td width="22%" height="20"><span class="letra"><strong>ETNIA</strong></span></td>
                            <td width="16%" height="20"><span class="letra"><?php
                                    echo ($estudiante[0]['autodefin_pers'] == "NEGRO" ? "NEGRO" : ($estudiante[0]['autodefin_pers'] == "MULATO" ? "MULATO" :
                                                    ($estudiante[0]['autodefin_pers'] == "AFROECUATORIANO" ? "AFROECUATORIANO" : ($estudiante[0]['autodefin_pers'] == "INDIGENA" ? "INDIGENA" :
                                                                    ($estudiante[0]['autodefin_pers'] == "MESTIZO" ? "MESTIZO" : ($estudiante[0]['autodefin_pers'] == "MONTUBIO" ? "MONTUBIO" :
                                                                                    ($estudiante[0]['autodefin_pers'] == "BLANCO" ? "BLANCO" : "OTRO")))))));
                                    ?></span></td>
                            <td width="26%" height="20"><span class="letra"><strong>DISCAPACIDAD</strong></span></td>
                            <td width="5%" height="20"><span class="letra"><?php echo (!empty($estudiante[0]['tipo_discap_pers']) ? "SI" : "NO"); ?></span></td>
                            <td width="31%" height="20"><span class="letra"><strong>TIPO:<?php echo (!empty($estudiante[0]['tipo_discap_pers']) ? $estudiante[0]['tipo_discap_pers'] : "NINGUNA"); ?></strong></span></td>
                        </tr>
                    </table></td>
            </tr>
            <tr>
                <td><table width="100%" class="tablinea"  border="1" cellpadding="0" cellspacing="1"  bordercolor="#000000">
                        <tr>
                            <td width="22%" height="20"><span class="letra"><strong>NOMBRE DEL CONYUGE</strong></span></td>
                            <td width="78%" height="20"><?php echo $estudiante[0]['conjuge_est']; ?></td>
                        </tr>
                    </table></td>
            </tr>
            <tr>
                <td><table width="100%" class="tablinea"  border="1" cellpadding="0" cellspacing="1"  bordercolor="#000000">
                        <tr>
                            <td width="22%" height="20"><span class="letra"><strong>PLANTEL DE PROCEDENCIA</strong></span></td>
                            <td width="78%" height="20"><span class="letra"><?php echo $estudiante[0]['planted_procede_est']; ?></span></td>
                        </tr>
                    </table></td>
            </tr>
            <tr>
                <td><table width="100%" class="tablinea"  border="1" cellpadding="0" cellspacing="1"  bordercolor="#000000">
                        <tr>
                            <td width="22%" height="20"><span class="letra"><strong>ESPECIALIDAD</strong></span></td>
                            <td width="78%" height="20"><span class="letra"><?php echo $estudiante[0]['especialidad_est']; ?></span></td>
                        </tr>
                    </table></td>
            </tr>
            <tr>
                <td><table width="100%" class="tablinea"  border="1" cellpadding="0" cellspacing="1"  bordercolor="#000000">
                        <tr>
                            <td width="22%" height="20"><span class="letra"><strong>CICLO INMEDIATO INFERIOR</strong></span></td>
                            <td width="78%" height="20"><span class="letra">BACHILLER</span></td>
                        </tr>
                    </table></td>
            </tr>
            <tr>
                <td><table width="100%" class="tablinea"  border="1" cellpadding="0" cellspacing="1"  bordercolor="#000000">
                        <tr>
                            <td width="22%" height="20"><span class="letra"><strong>SECCION </strong></span></td>
                            <td width="16%" height="20"><span class="letra"><?php echo $seccion_nom; ?> </span></td>
                            <td width="20%" height="20"><span class="letra"><strong>FORMA DE PAGO</strong></span></td>
                            <td width="42%" height="20"><span class="letra">
                                    <?php
                                    echo ($inscrito[0]['forma_pago'] == 1 ? "CONTADO" : ($inscrito[0]['forma_pago'] == 2 ? "IECE" :
                                                    ($inscrito[0]['forma_pago'] == 3 ? "BECA DEL100%" : ($inscrito[0]['forma_pago'] == 4 ? "BECA DEL75%" :
                                                                    ($inscrito[0]['forma_pago'] == 5 ? "BECA DEL50%" : ($inscrito[0]['forma_pago'] == 6 ? "BECA DEL25%" :
                                                                                    "FINANCIADO"))))));
                                    ?>


                                </span></td>
                        </tr>
                    </table></td>
            </tr>
            <tr>
                <td><table width="100%" class="tablinea"  border="1" cellpadding="0" cellspacing="1"  bordercolor="#000000">
                        <tr>
                            <td width="22%" height="20"><span class="letra"><strong>DIRECCION ACTUAL</strong></span></td>
                            <td width="78%" height="20"><span class="letra"><?php echo $estudiante[0]['direccion_pers']; ?></span></td>
                        </tr>
                    </table></td>
            </tr>
            <tr>
                <td><table width="100%" class="tablinea"  border="1" cellpadding="0" cellspacing="1"  bordercolor="#000000">
                        <tr>
                            <td width="22%" height="20"><span class="letra"><strong>REFERENCIA DEL DOMICILIO</strong></span></td>
                            <td width="78%" height="20"><span class="letra"><?php echo $estudiante[0]['refer_domic_pers']; ?></span></td>
                        </tr>
                    </table></td>
            </tr>
            <tr>
                <td><table width="100%" class="tablinea"  border="1" cellpadding="0" cellspacing="1"  bordercolor="#000000">
                        <tr>
                            <td width="22%" height="20"><span class="letra"><strong>TELEFONO</strong></span></td>
                            <td width="16%" height="20"><span class="letra"><?php echo $estudiante[0]['fono_pers']; ?></span></td>
                            <td width="20%" height="20"><span class="letra"><strong>CELULAR</strong></span></td>
                            <td width="42%" height="20"><span class="letra"><?php echo $estudiante[0]['celular_pers']; ?></span></td>
                        </tr>
                    </table></td>
            </tr>
            <tr>
                <td><table width="100%" class="tablinea"  border="1" cellpadding="0" cellspacing="1"  bordercolor="#000000">
                        <tr>
                            <td width="22%" height="20"><span class="letra"><strong>EMAIL</strong></span></td>
                            <td width="78%" height="20"><span class="letra"><?php echo $estudiante[0]['email_pers_est']; ?></span></td>
                        </tr>
                    </table></td>
            </tr>
            <tr>
                <td><table width="100%" class="tablinea"  border="1" cellpadding="0" cellspacing="1"  bordercolor="#000000">
                        <tr>
                            <td width="22%" height="20"><span class="letra"><strong>NOMBRE DEL PADRE</strong></span></td>
                            <td width="16%" height="20"><span class="letra"><?php echo $estudiante[0]['nombre_padre_est']; ?></span></td>
                            <td width="20%" height="20"><span class="letra"><strong>PROFESION</strong></span></td>
                            <td width="42%" height="20"><span class="letra"><?php echo $estudiante[0]['profesion_padre_est']; ?></span></td>
                        </tr>
                    </table></td>
            </tr>
            <tr>
                <td><table width="100%" class="tablinea"  border="1" cellpadding="0" cellspacing="1"  bordercolor="#000000">
                        <tr>
                            <td width="22%" height="20"><span class="letra"><strong>NOMBRE DE LA MADRE</strong></span></td>
                            <td width="16%" height="20"><span class="letra"><?php echo $estudiante[0]['nombre_madre_est']; ?></span></td>
                            <td width="20%" height="20"><span class="letra"><strong>PROFESION</strong></span></td>
                            <td width="42%" height="20"><span class="letra"><?php echo $estudiante[0]['profesion_madre_est']; ?></span></td>
                        </tr>
                    </table></td>
            </tr>
        </table><br>
            <div align="justify" class="letra"><strong>OBSERVACIONES:</strong> En sesión del día veintiuno de septiembre de dos mil cuatro, el Consejo Gubernativo resolvío que en caso de retirarse el estudiante en cualquier fecha, a partir del semetre: <?php echo $ide_lec_nom; ?>, el mismo tiene la obligación de cancelar el costo total del semetre en el que se encuentra matriculado</div>
                <div align="right">
                    <p>Loja, <?php
                        $dias = array("Domingo", "Lunes", "Martes", "Miercoles", "Jueves", "Viernes", "Sábado");
                        $meses = array("Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre");

                        echo $dias[date('w')] . " " . date('d') . " de " . $meses[date('n') - 1] . " del " . date('Y');
                        ?>  </p>
                </div>
                <table width="100%" >
                    <tr>
                        <td><div align="center">_____________________</div></td>
                        <td><div align="center">_____________________</div></td>
                        <td><div align="center">_____________________</div></td>
                    </tr>
                    <tr>
                        <td><div align="center">RECTORADO</div></td>
                        <td><div align="center">LA SECRETARIA</div></td>
                        <td><div align="center">EL ESTUDIANTE</div></td>
                    </tr>
                </table>
                <p><br>
                </p>
                </body>
                </html>
